package club.chenlinghong.product.repository;

import club.chenlinghong.product.entity.ProductCatagory;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @Description 商品类目
 * @Author chenlinghong
 * @Date 2019/6/18 16:32
 * @Version V1.0
 */
public interface ProductCatagoryRepository extends JpaRepository<ProductCatagory, Integer> {

    List<ProductCatagory> findByCatagoryTypeIn(List<Integer> catagoryList);
}
